Ext.onReady(function(){
	var f = new Ext.form.FormPanel({
	    formId: 'fi',
	    title: 'Upload File',
	    frame: true,
		bodyStyle:'padding:5px 5px 0',
	    width: 250,
	    items: [{
	        xtype: 'panel',
	        html: '<input type="file" name="aFile">'
	    }, {
	        xtype: 'panel',
	        layout: 'column',
	        items: [{
	        	width: 60,
	            xtype: 'radio',
	            boxLabel: '增量',
	            name: 'r',
	            inputValue: 'increase'
	        }, {
	        	width: 60,
	            xtype: 'radio',
	            boxLabel: '全量',
	            name: 'r',
	            inputValue: 'all',
	            checked: true
	        }]
	    }],
	    buttons: [{
	    	text: 'Submit',
	    	handler: function(){
	    		Ext.Ajax.request({
				    url: '/a',
				    form: 'fi',
				    isUpload: true
				});
	    	}
		}, {
			text: 'Cancel'
		}]
	});
	f.render(Ext.getBody());
    
});